<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05-随堂练习</title>
    <style>
        body{
            width: 100%;
            height: 100%;
            position: absolute;
        }
        *{
            cursor: none;
        }
    </style>
    <script src="../js/jquery-3.6.0.js"></script>
    <script>
        $(function () {
            $("body").mousemove(function () {
                let clientX = event.clientX;
                let clientY = event.clientY;
                $("img").css(
                    {
                        position:"absolute",
                        left:(clientX-80)+"px",
                        top:(clientY-95)+"px"
                    }
                )
            });
        })
    </script>
</head>
<body>
<img src="../images/动态表情22.gif" alt="">
</body>
</html>